FROM python:3.9-alpine AS builder

WORKDIR /opt/
# 把当前的golang所有代码拷贝进去
COPY .. .
COPY ./requirements.txt requirements.txt
RUN ls -al
RUN pip install -r requirements.txt
CMD gunicorn -w 4 -b 0.0.0.0:8080 start:app